package com.greenleaf.entity;

import org.springframework.stereotype.Component;
/**
 * 收货地址表
 * */
@Component
public class Address {
private int adsId;//编号
private String consignee;//收货人
private String phone;//手机号
private int vId;//所属会员
private String provice;//省
private String city;//市
private String county;//县/或区
private String address;//详细地址
private String code;//邮政编码
private String defaule;//是否默认
public Address(int adsId, String consignee, String phone, int vId, String provice, String city, String county,
		String address, String code, String defaule) {
	super();
	this.adsId = adsId;
	this.consignee = consignee;
	this.phone = phone;
	this.vId = vId;
	this.provice = provice;
	this.city = city;
	this.county = county;
	this.address = address;
	this.code = code;
	this.defaule = defaule;
}
public Address() {
	super();
}
@Override
public String toString() {
	return "Address [adsId=" + adsId + ", consignee=" + consignee + ", phone=" + phone + ", vId=" + vId + ", provice="
			+ provice + ", city=" + city + ", county=" + county + ", address=" + address + ", code=" + code
			+ ", defaule=" + defaule + "]";
}
public int getAdsId() {
	return adsId;
}
public void setAdsId(int adsId) {
	this.adsId = adsId;
}
public String getConsignee() {
	return consignee;
}
public void setConsignee(String consignee) {
	this.consignee = consignee;
}
public String getPhone() {
	return phone;
}
public void setPhone(String phone) {
	this.phone = phone;
}
public int getvId() {
	return vId;
}
public void setvId(int vId) {
	this.vId = vId;
}
public String getProvice() {
	return provice;
}
public void setProvice(String provice) {
	this.provice = provice;
}
public String getCity() {
	return city;
}
public void setCity(String city) {
	this.city = city;
}
public String getCounty() {
	return county;
}
public void setCounty(String county) {
	this.county = county;
}
public String getAddress() {
	return address;
}
public void setAddress(String address) {
	this.address = address;
}
public String getCode() {
	return code;
}
public void setCode(String code) {
	this.code = code;
}
public String getDefaule() {
	return defaule;
}
public void setDefaule(String defaule) {
	this.defaule = defaule;
}

}
